<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>BookDetail</title>
<body>
		<table align="center" width="800">
			<tr>
				<td colspan="2">
					<div align="center">
						<br><%@include file="/top.jsp"%><br>
					</div>
				</td>
			</tr>
			<tr>
				<td width="75%" valign="top"><s:iterator value="#session.books"
						var="book">


						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="td">
							<tr>
								<td width="30%" rowspan="8"><img
									src="<%=path%>/images/<s:property value="#book.picture"/>"
									height="212" width="150"></td>
								<td colspan="2"><s:property value="#book.bookname" /></td>
							</tr>
							<tr>
								<td colspan="2"><s:property value="#book.author" />&nbsp;著</td>
							</tr>

							<tr>
								<td colspan="2"><s:property value="#book.publisher" /></td>
							</tr>
							<tr>
								<td colspan="2"><s:property value="#book.pubdate" /></td>
							</tr>
							<tr>
								<td colspan="2"><s:property value="#book.bookid" /></td>
							</tr>
							<tr>
								<td colspan="2">&nbsp;</td>
							</tr>
							<tr>
								<td colspan="2">&nbsp;</td>
							</tr>
							<tr>
								<td colspan="2">&nbsp;</td>
							</tr>
							<tr>
								<td>定 价:￥<s:property value="#book.price" />
								</td>
								<td><div align="left" width="150">
									<a
											href="<%=path%>/order/Order_addBook2Cart.action?bookid=<s:property value="#book.bookid"/>"
											<s:if test="#session.loginState != 1">
												onclick="javascript: if(confirm('请登录购书系统！')) return false;
												else return false;"
											</s:if>
											>放入购书车</a>&nbsp;&nbsp;
									</div></td>
								<td><a href="javascript:history.go(-1);">返回</a></td>
							</tr>
							<tr>
								<td colspan="3">内容简介</td>
							</tr>
							<tr>
								<td colspan="3"><s:property value="#book.content" /></td>
							</tr>
						</table>
					</s:iterator></td>
			</tr>
			<tr>
				<td colspan="2">
					<div align="center">
						<br><%@include file="/bottom.jsp"%>
					</div>
				</td>
			</tr>
		</table>
</body>
</html>
